<html>
<head><meta charset="utf-8"><title>Useful aliases · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html">Useful aliases</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="218768785"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218768785" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218768785">(Dec 03 2020 at 23:20)</a>:</h4>
<p>We were deriving in <a href="#narrow/stream/266220-rustdoc/topic/skip.20doctests.20attribute.3F">https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/skip.20doctests.20attribute.3F</a> with <span class="user-mention" data-user-id="307537">@Camelid</span></p>
<p>What aliases do you use to shorten commands ?</p>



<a name="218768810"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218768810" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218768810">(Dec 03 2020 at 23:20)</a>:</h4>
<p>like <code>cg</code> for <code>cargo</code>, <code>g</code> for <code>git</code> or such</p>



<a name="218769322"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769322" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769322">(Dec 03 2020 at 23:26)</a>:</h4>
<p>I have a friend that uses <code>v</code> for <code>vim</code></p>



<a name="218769573"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769573" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769573">(Dec 03 2020 at 23:28)</a>:</h4>
<p>I do <code>nv</code> for <code>nvim</code>, I understand the feeling</p>



<a name="218769598"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769598" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769598">(Dec 03 2020 at 23:28)</a>:</h4>
<p>Most used is gst = git status</p>



<a name="218769680"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769680" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769680">(Dec 03 2020 at 23:29)</a>:</h4>
<p>I use the fish shell and I have it as an <code>abbr</code> so it auto-expands as I type. Doesn't really add anything though <span aria-label="laughing" class="emoji emoji-1f606" role="img" title="laughing">:laughing:</span></p>



<a name="218769681"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769681" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769681">(Dec 03 2020 at 23:29)</a>:</h4>
<p><span class="user-mention silent" data-user-id="307537">Camelid</span> <a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/218769598">said</a>:</p>
<blockquote>
<p>Most used is gst = git status</p>
</blockquote>
<p>I wonder how many times I've used <code>gst -uno</code> <span aria-label="big smile" class="emoji emoji-1f604" role="img" title="big smile">:big_smile:</span></p>



<a name="218769699"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769699" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769699">(Dec 03 2020 at 23:29)</a>:</h4>
<p><code>g s</code> for <code>git status</code></p>



<a name="218769705"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769705" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769705">(Dec 03 2020 at 23:29)</a>:</h4>
<p>I just use tab complete a lot lol</p>



<a name="218769706"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769706" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769706">(Dec 03 2020 at 23:29)</a>:</h4>
<p>Oh man</p>



<a name="218769714"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769714" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769714">(Dec 03 2020 at 23:29)</a>:</h4>
<p>That is short <span class="user-mention" data-user-id="307289">@Poliorcetics</span>!</p>



<a name="218769736"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769736" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769736">(Dec 03 2020 at 23:29)</a>:</h4>
<p>The tab key is too far</p>



<a name="218769741"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769741" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769741">(Dec 03 2020 at 23:29)</a>:</h4>
<p>fish also has autocomplete like a search engine, so I use that a lot</p>



<a name="218769748"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769748" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769748">(Dec 03 2020 at 23:29)</a>:</h4>
<p>very frustrating that tab complete doesn't work for most rust commands</p>



<a name="218769759"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769759" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769759">(Dec 03 2020 at 23:29)</a>:</h4>
<p>like <code>cargo bui</code> doesn't complete</p>



<a name="218769808"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769808" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769808">(Dec 03 2020 at 23:30)</a>:</h4>
<p><code>cgb</code></p>



<a name="218769818"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769818" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769818">(Dec 03 2020 at 23:30)</a>:</h4>
<p>Works for me</p>



<a name="218769834"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769834" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769834">(Dec 03 2020 at 23:30)</a>:</h4>
<p>that way tabs doesn't bother you</p>



<a name="218769835"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769835" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769835">(Dec 03 2020 at 23:30)</a>:</h4>
<p>cargo bui -&gt; cargo build</p>



<a name="218769855"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769855" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769855">(Dec 03 2020 at 23:30)</a>:</h4>
<p>I have a few aliases for <code>x.py</code> too</p>



<a name="218769857"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769857" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769857">(Dec 03 2020 at 23:30)</a>:</h4>
<p>and <span class="user-mention" data-user-id="232545">@Joshua Nelson</span> use <code>rustup help</code></p>



<a name="218769880"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769880" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769880">(Dec 03 2020 at 23:30)</a>:</h4>
<p>there is autocompletion somewhere</p>



<a name="218769891"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769891" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769891">(Dec 03 2020 at 23:30)</a>:</h4>
<p>omg</p>



<a name="218769895"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769895" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769895">(Dec 03 2020 at 23:30)</a>:</h4>
<p>It's so nice</p>



<a name="218769898"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769898" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769898">(Dec 03 2020 at 23:30)</a>:</h4>
<p>thank you so much</p>



<a name="218769924"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218769924" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218769924">(Dec 03 2020 at 23:31)</a>:</h4>
<p><code>rck</code>, <code>rbd</code>, <code>rt</code>, <code>rfmt</code>...</p>



<a name="218770034"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770034" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770034">(Dec 03 2020 at 23:32)</a>:</h4>
<p>Wow, that's a lot of aliases. I just use tab-completion and fish history-complete. I used to use:</p>
<p><code>rb</code>=<code>./x.py build ...</code><br>
<code>rt</code>=<code>./x.py test -i --stage 1 --keep-stage 1 $argv</code></p>
<p>based on suggestions from before x.py had good defaults</p>



<a name="218770045"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770045" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770045">(Dec 03 2020 at 23:32)</a>:</h4>
<p><span class="user-mention silent" data-user-id="307289">Poliorcetics</span> <a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/218769880">said</a>:</p>
<blockquote>
<p>there is autocompletion somewhere</p>
</blockquote>
<p>For people reading this <code>rustup completions --help</code></p>



<a name="218770054"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770054" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770054">(Dec 03 2020 at 23:32)</a>:</h4>
<blockquote>
<p>rt=./x.py test -i --stage 1 --keep-stage 1 $argv</p>
</blockquote>
<p>please no :(</p>



<a name="218770061"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770061" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770061">(Dec 03 2020 at 23:32)</a>:</h4>
<p><strong>used</strong> to use</p>



<a name="218770072"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770072" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770072">(Dec 03 2020 at 23:32)</a>:</h4>
<p>Now just <code>./x.py test</code> <span aria-label="tada" class="emoji emoji-1f389" role="img" title="tada">:tada:</span></p>



<a name="218770079"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770079" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770079">(Dec 03 2020 at 23:32)</a>:</h4>
<p>--keep-stage should never be hidden IMO</p>



<a name="218770093"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770093" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770093">(Dec 03 2020 at 23:33)</a>:</h4>
<p>you should be very aware that you're breaking your build cache <span aria-label="laughing" class="emoji emoji-1f606" role="img" title="laughing">:laughing:</span></p>



<a name="218770094"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770094" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770094">(Dec 03 2020 at 23:33)</a>:</h4>
<p>what do you mean?</p>



<a name="218770148"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770148" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770148">(Dec 03 2020 at 23:33)</a>:</h4>
<p>I have this command in my history for Rust itself <code>g co master; g pr rust master; g submodule update; g ps</code></p>



<a name="218770149"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770149" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770149">(Dec 03 2020 at 23:33)</a>:</h4>
<p>--keep-stage says "I know that my cache is out of date and <em>I don't want to rebuild anyway</em>"</p>



<a name="218770153"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770153" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770153">(Dec 03 2020 at 23:33)</a>:</h4>
<p><span class="user-mention silent" data-user-id="232545">Joshua Nelson</span> <a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/218770093">said</a>:</p>
<blockquote>
<p>you should be very aware that you're breaking your build cache <span aria-label="laughing" class="emoji emoji-1f606" role="img" title="laughing">:laughing:</span></p>
</blockquote>
<p>Made that mistake already :(</p>



<a name="218770174"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770174" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770174">(Dec 03 2020 at 23:33)</a>:</h4>
<p>you're <em>intentionally</em> introducing a bug in the build system</p>



<a name="218770181"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770181" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770181">(Dec 03 2020 at 23:33)</a>:</h4>
<p>But what do you mean by "should never be hidden"</p>



<a name="218770191"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770191" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770191">(Dec 03 2020 at 23:34)</a>:</h4>
<p>it shouldn't be behind an alias</p>



<a name="218770239"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770239" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770239">(Dec 03 2020 at 23:34)</a>:</h4>
<p>Oh, I don't use the alias</p>



<a name="218770241"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770241" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770241">(Dec 03 2020 at 23:34)</a>:</h4>
<p>otherwise you'll forget it's there</p>



<a name="218770243"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770243" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770243">(Dec 03 2020 at 23:34)</a>:</h4>
<p>It's old</p>



<a name="218770280"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770280" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770280">(Dec 03 2020 at 23:34)</a>:</h4>
<p><span class="user-mention silent" data-user-id="232545">Joshua Nelson</span> <a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/218770174">said</a>:</p>
<blockquote>
<p>you're <em>intentionally</em> introducing a bug in the build system</p>
</blockquote>
<p>I <em>unintentionally</em> introduces bugs every day, what's the difference <span aria-label="stuck out tongue" class="emoji emoji-1f61b" role="img" title="stuck out tongue">:stuck_out_tongue:</span></p>



<a name="218770450"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770450" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770450">(Dec 03 2020 at 23:36)</a>:</h4>
<p>At some point, I realized that I can just run <code>date -u</code> to get UTC time and don't have to keep looking up on Google "utc" to see the current time in UTC <span aria-label="laughing" class="emoji emoji-1f606" role="img" title="laughing">:laughing:</span> </p>
<p>So I added an alias: <code>alias utc='date -u'</code></p>



<a name="218770462"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770462" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770462">(Dec 03 2020 at 23:37)</a>:</h4>
<p>And now:</p>
<div class="codehilite" data-code-language="Bash Session"><pre><span></span><code><span class="gp">$</span> utc
<span class="go">Thu Dec  3 23:36:56 UTC 2020</span>
</code></pre></div>



<a name="218770474"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218770474" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218770474">(Dec 03 2020 at 23:37)</a>:</h4>
<p>Oh nice !</p>



<a name="218771075"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218771075" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Domenic Quirl <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218771075">(Dec 03 2020 at 23:44)</a>:</h4>
<p><span class="user-mention silent" data-user-id="307289">Poliorcetics</span> <a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/218770045">said</a>:</p>
<blockquote>
<p>For people reading this <code>rustup completions --help</code></p>
</blockquote>
<p>Thank you! Just tried this on Windows and for Powershell the check for what could be an argument is the wrong way round. Options with <code>-</code> work, but for plain subcommands it checks if command elements are _not_ string constants or _not_ bare words :D</p>



<a name="218771129"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218771129" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Domenic Quirl <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218771129">(Dec 03 2020 at 23:45)</a>:</h4>
<p>Changing this is super easy though and then it works, but in case anyone else runs into this, now you know</p>



<a name="218771156"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218771156" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Domenic Quirl <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218771156">(Dec 03 2020 at 23:45)</a>:</h4>
<p>Sadly  there are no <code>cargo</code> completions for powershell :/</p>



<a name="218771169"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218771169" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218771169">(Dec 03 2020 at 23:45)</a>:</h4>
<p>ah ?</p>



<a name="218771263"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218771263" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Domenic Quirl <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218771263">(Dec 03 2020 at 23:46)</a>:</h4>
<div class="codehilite" data-code-language="Bash"><pre><span></span><code>&gt; rustup completions powershell cargo
error: cargo does not currently support completions <span class="k">for</span> POWERSHELL
</code></pre></div>



<a name="218771278"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218771278" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218771278">(Dec 03 2020 at 23:47)</a>:</h4>
<p>oh :'(</p>



<a name="218771313"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218771313" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218771313">(Dec 03 2020 at 23:47)</a>:</h4>
<p>I don't use windows but that seems like an easy, if tedious, PR</p>



<a name="218771528"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218771528" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Domenic Quirl <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218771528">(Dec 03 2020 at 23:50)</a>:</h4>
<p>Yeah, it seems the subcommands and options are just manually enumerated. Maybe if I have time on the weekend I'll have a look at it. If I get around to it, where would I show up to add it to <code>rustup</code>?</p>



<a name="218771622"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218771622" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218771622">(Dec 03 2020 at 23:52)</a>:</h4>
<p><a href="https://github.com/rust-lang/rustup">https://github.com/rust-lang/rustup</a></p>



<a name="218771693"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218771693" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218771693">(Dec 03 2020 at 23:53)</a>:</h4>
<p>Fork it, create a new branch or not, add the changes, push it and you should have a link in the output of <code>git push</code> that will make you start a PR</p>



<a name="218771735"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218771735" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218771735">(Dec 03 2020 at 23:54)</a>:</h4>
<p>I don't much about the <code>rustup</code> internals so maybe there are tests to write for such a file but the maintainers will tell you if it is necessary</p>



<a name="218771855"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218771855" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Domenic Quirl <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218771855">(Dec 03 2020 at 23:55)</a>:</h4>
<p>Ah, nice. <a href="https://github.com/rust-lang/rustup/blob/5674652a45ecf9066128df32fbc51e965586e4b2/src/cli/rustup_mode.rs#L1587">This</a> seems like a good place to start</p>



<a name="218772409"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218772409" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Domenic Quirl <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218772409">(Dec 04 2020 at 00:03)</a>:</h4>
<p>The wrong check might actually come <a href="https://github.com/clap-rs/clap/blob/3e9ee86713b5c407b50ba76f30cffaed25952063/clap_generate/src/generators/shells/powershell.rs#L36">from clap</a>, <code>rustup</code> just seems to forward when generating completions for itself <span aria-label="thinking" class="emoji emoji-1f914" role="img" title="thinking">:thinking:</span></p>



<a name="218772820"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218772820" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Domenic Quirl <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218772820">(Dec 04 2020 at 00:08)</a>:</h4>
<p>There is also <a href="https://github.com/rust-lang/cargo/issues/6645">https://github.com/rust-lang/cargo/issues/6645</a></p>



<a name="218773872"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218773872" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Aman Arora <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218773872">(Dec 04 2020 at 00:24)</a>:</h4>
<p>Here is a list of git aliases that built into zsh: <a href="https://github.com/ohmyzsh/ohmyzsh/wiki/Cheatsheet">https://github.com/ohmyzsh/ohmyzsh/wiki/Cheatsheet</a></p>



<a name="218773915"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218773915" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Aman Arora <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218773915">(Dec 04 2020 at 00:25)</a>:</h4>
<p><span class="user-mention silent" data-user-id="307537">Camelid</span> <a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/218770034">said</a>:</p>
<blockquote>
<p>Wow, that's a lot of aliases. I just use tab-completion and fish history-complete. I used to use:</p>
<p><code>rb</code>=<code>./x.py build ...</code><br>
<code>rt</code>=<code>./x.py test -i --stage 1 --keep-stage 1 $argv</code></p>
<p>based on suggestions from before x.py had good defaults</p>
</blockquote>
<p>I personally have fmt run with build and test so that I don't have spend time recompiling because file formatting changed <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span></p>



<a name="218774169"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218774169" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218774169">(Dec 04 2020 at 00:28)</a>:</h4>
<p>Ohmyzsh is not default ^^ just very popular</p>



<a name="218778603"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218778603" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Aman Arora <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218778603">(Dec 04 2020 at 01:43)</a>:</h4>
<p><span class="user-mention silent" data-user-id="307289">Poliorcetics</span> <a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/218774169">said</a>:</p>
<blockquote>
<p>Ohmyzsh is not default ^^ just very popular</p>
</blockquote>
<p>I was going more for if people wanted to pick aliases from there and add to their configs <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span></p>



<a name="218779846"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218779846" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> scottmcm <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218779846">(Dec 04 2020 at 02:02)</a>:</h4>
<p>From my git config:</p>
<div class="codehilite"><pre><span></span><code>[alias]
    puff = pull --no-rebase --ff-only --log
    purr = pull --rebase=true --autostash -Xignore-space-change --no-stat
    prom = purr origin master
    prum = purr upstream master
    dog = log --decorate --graph
    dogs = dog --oneline
    ss = status --short --branch
</code></pre></div>
<p>(I don't bother shrinking <code>git</code> further.)</p>



<a name="218780084"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218780084" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218780084">(Dec 04 2020 at 02:06)</a>:</h4>
<p>I like your mnemonics <span aria-label="laughing" class="emoji emoji-1f606" role="img" title="laughing">:laughing:</span> </p>
<p>I feel like you need <code>git bark</code> for something related to branching <span aria-label="wink" class="emoji emoji-1f609" role="img" title="wink">:wink:</span></p>



<a name="218780098"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218780098" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218780098">(Dec 04 2020 at 02:06)</a>:</h4>
<p><span class="user-mention silent" data-user-id="281950">Aman Arora</span> <a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/218773915">said</a>:</p>
<blockquote>
<p><span class="user-mention silent" data-user-id="307537">Camelid</span> <a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/218770034">said</a>:</p>
<blockquote>
<p>Wow, that's a lot of aliases. I just use tab-completion and fish history-complete. I used to use:</p>
<p><code>rb</code>=<code>./x.py build ...</code><br>
<code>rt</code>=<code>./x.py test -i --stage 1 --keep-stage 1 $argv</code></p>
<p>based on suggestions from before x.py had good defaults</p>
</blockquote>
<p>I personally have fmt run with build and test so that I don't have spend time recompiling because file formatting changed <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span></p>
</blockquote>
<p>That's a good tip! It <em>is</em> always annoying when you have to recompile after running <code>./x.py fmt</code></p>



<a name="218792357"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218792357" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Aman Arora <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218792357">(Dec 04 2020 at 04:07)</a>:</h4>
<p>This is the sort of the minimized version of what I use. Push and pop just allow me to not have to go to rust root to run commands <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span></p>
<div class="codehilite" data-code-language="Bash"><pre><span></span><code>runRustStuff<span class="o">()</span>
<span class="o">{</span>
    <span class="nb">pushd</span> <span class="nv">$RUST_PROJECT_REPO</span>
    nice ./x.py fmt -j32
    nice ./x.py <span class="nv">$@</span>
    <span class="nb">popd</span>
<span class="o">}</span>

buildRust<span class="o">()</span>
<span class="o">{</span>
    runRustStuff build -j50 -i --stage <span class="m">1</span> <span class="nv">$@</span>
<span class="o">}</span>

testRust<span class="o">()</span>
<span class="o">{</span>
    runRustStuff <span class="nb">test</span> -i --stage <span class="m">1</span> <span class="nv">$@</span>
<span class="o">}</span>

rustCheck<span class="o">()</span>
<span class="o">{</span>
    <span class="nb">pushd</span> <span class="nv">$SG_RUST_PROJECT_REPO</span>
    ./x.py check -j32
    <span class="nb">popd</span>
<span class="o">}</span>
</code></pre></div>



<a name="218795003"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218795003" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218795003">(Dec 04 2020 at 05:09)</a>:</h4>
<p><span class="user-mention" data-user-id="281950">@Aman Arora</span> I think you should be able to use the <a href="https://github.com/rust-lang/rust/pull/78658">new <code>src/tools/x</code></a> binary instead of <code>pushd</code> and <code>popd</code>.</p>



<a name="218795052"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218795052" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218795052">(Dec 04 2020 at 05:10)</a>:</h4>
<p>So IIUC it would be just <code>nice x fmt -j32</code></p>



<a name="218795056"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218795056" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218795056">(Dec 04 2020 at 05:10)</a>:</h4>
<p>And <code>nice x $@</code></p>



<a name="218795385"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218795385" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Aman Arora <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218795385">(Dec 04 2020 at 05:19)</a>:</h4>
<p>oooh that's nice, thank you <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span></p>



<a name="218803976"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218803976" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> vn-ki <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218803976">(Dec 04 2020 at 08:21)</a>:</h4>
<p>I'm late to the party but one of my fav zsh feature is global aliases</p>
<p>with</p>
<div class="codehilite" data-code-language="Bash"><pre><span></span><code><span class="c1"># Global aliases</span>
<span class="nb">alias</span> -g <span class="nv">G</span><span class="o">=</span><span class="s2">"| grep -i"</span>
<span class="nb">alias</span> -g <span class="nv">D</span><span class="o">=</span><span class="s2">"&amp; disown"</span>
</code></pre></div>
<p>you can do things like</p>
<div class="codehilite" data-code-language="Bash"><pre><span></span><code>$ cat ~/.zshrc G <span class="nb">alias</span>
<span class="c1"># &gt;&gt; ALIASES</span>
<span class="nb">alias</span> <span class="nv">vim</span><span class="o">=</span><span class="s2">"nvim"</span>
<span class="nb">alias</span> <span class="nv">ls</span><span class="o">=</span><span class="s2">"exa --color=auto"</span>
<span class="nb">alias</span> <span class="nv">l</span><span class="o">=</span><span class="s2">"exa -lah"</span>
...

$ zathura ~/me.pdf D
</code></pre></div>



<a name="218921083"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218921083" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nadrieril <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218921083">(Dec 05 2020 at 06:13)</a>:</h4>
<p>I have so many aliases :o <code>n=nvim</code>, <code>g=git</code>, <code>l=exa -l</code>, <code>z</code> to quickly jump directories. Many git aliases too: <code>ci=commit</code>, <code>cia=commit --amend</code>, <code>ap=add -p</code>, <code>l=log</code>, <code>rbi=rebase --interactive</code>, <code>s=status</code>, <code>co=checkout</code>, <code>cob=checkout --branch </code>, <code>br=branch</code></p>



<a name="218921187"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218921187" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nadrieril <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218921187">(Dec 05 2020 at 06:16)</a>:</h4>
<p>Recently wrote a small script to help me with common x.py invocations too. Now I can write <code>x test -k patterns</code> instead of <code>./x.py test --bless src/test/ui --keep-stage 1 --test-args patterns</code>. Also <code>x perf</code> runs a few selected benchmarks with rustc-perf and opens the browser to view the diff with master. Changed my life that one, now I just check perf after every commit instead of struggling with long post-hoc bisections</p>



<a name="218922401"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218922401" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Aman Arora <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218922401">(Dec 05 2020 at 06:57)</a>:</h4>
<p><span class="user-mention silent" data-user-id="245339">Nadrieril</span> <a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/218921187">said</a>:</p>
<blockquote>
<p>Recently wrote a small script to help me with common x.py invocations too. Now I can write <code>x test -k patterns</code> instead of <code>./x.py test --bless src/test/ui --keep-stage 1 --test-args patterns</code>. Also <code>x perf</code> runs a few selected benchmarks with rustc-perf and opens the browser to view the diff with master. Changed my life that one, now I just check perf after every commit instead of struggling with long post-hoc bisections</p>
</blockquote>
<p>can u share the perf one?</p>



<a name="218936545"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218936545" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218936545">(Dec 05 2020 at 14:04)</a>:</h4>
<p><span class="user-mention silent" data-user-id="245339">Nadrieril</span> <a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/218921187">said</a>:</p>
<blockquote>
<p>Recently wrote a small script to help me with common x.py invocations too. Now I can write <code>x test -k patterns</code> instead of <code>./x.py test --bless src/test/ui --keep-stage 1 --test-args patterns</code>. Also <code>x perf</code> runs a few selected benchmarks with rustc-perf and opens the browser to view the diff with master. Changed my life that one, now I just check perf after every commit instead of struggling with long post-hoc bisections</p>
</blockquote>
<p>noooo don't make --keep-stage an alias :(</p>



<a name="218936546"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218936546" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218936546">(Dec 05 2020 at 14:04)</a>:</h4>
<p><a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/218770079">https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/Useful.20aliases/near/218770079</a></p>



<a name="218936556"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218936556" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218936556">(Dec 05 2020 at 14:05)</a>:</h4>
<p>actually in your case I think it's not actually doing anything because <code>test</code> defaults to stage 1 now</p>



<a name="218936565"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218936565" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218936565">(Dec 05 2020 at 14:05)</a>:</h4>
<p><a href="https://rustc-dev-guide.rust-lang.org/building/bootstrapping.html#understanding-stages-of-bootstrap">https://rustc-dev-guide.rust-lang.org/building/bootstrapping.html#understanding-stages-of-bootstrap</a></p>



<a name="218937214"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218937214" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nadrieril <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218937214">(Dec 05 2020 at 14:26)</a>:</h4>
<p>It definitely skips building std when I turn it on. Given that I mostly work on <code>rustc_mir_build</code>, that about halves my build time</p>



<a name="218937255"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218937255" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nadrieril <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218937255">(Dec 05 2020 at 14:26)</a>:</h4>
<p><span class="user-mention silent" data-user-id="232545">Joshua Nelson</span> <a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/218936545">said</a>:</p>
<blockquote>
<p>noooo don't make --keep-stage an alias :(</p>
</blockquote>
<p>It's not hidden tho, it's exposed as a <code>-k|--keep</code> option</p>



<a name="218937369"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218937369" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nadrieril <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218937369">(Dec 05 2020 at 14:30)</a>:</h4>
<p><span class="user-mention" data-user-id="281950">@Aman Arora</span> Here's the whole script <a href="https://gist.github.com/Nadrieril/349f646b76dfa622e9a36c3430ad570a">https://gist.github.com/Nadrieril/349f646b76dfa622e9a36c3430ad570a</a> . Beware, it's definitely made for my particular usage</p>



<a name="218937431"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218937431" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218937431">(Dec 05 2020 at 14:32)</a>:</h4>
<p><span class="user-mention" data-user-id="245339">@Nadrieril</span> try --keep-stage-std instead, that won't give you an outdated compiler</p>



<a name="218937460"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218937460" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nadrieril <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218937460">(Dec 05 2020 at 14:33)</a>:</h4>
<p>Outdated compiler? I seem to build the same compiler things with or without <code>--keep-stage 1</code></p>



<a name="218937564"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/218937564" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nadrieril <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#218937564">(Dec 05 2020 at 14:36)</a>:</h4>
<p>Maybe if I built stage 2 or sth I guess. Doesn't hurt to change that option</p>



<a name="219245337"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219245337" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Gus Wynn <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219245337">(Dec 08 2020 at 18:43)</a>:</h4>
<p><span class="user-mention silent" data-user-id="307289">Poliorcetics</span> <a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/218769573">said</a>:</p>
<blockquote>
<p>I do <code>nv</code> for <code>nvim</code>, I understand the feeling</p>
</blockquote>
<p>my <code>vim</code> == <code>nvim -O</code></p>
<p><code>-O</code> is critical!!</p>



<a name="219777062"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219777062" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219777062">(Dec 13 2020 at 19:41)</a>:</h4>
<p><code>alias cup='for i in $(ls ~/.cargo/bin); do cargo install "$i"; done'</code> <span aria-label="smiling devil" class="emoji emoji-1f608" role="img" title="smiling devil">:smiling_devil:</span></p>



<a name="219785105"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219785105" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219785105">(Dec 13 2020 at 22:27)</a>:</h4>
<p>Does that work for cargo edit which installs <code>cargo-add</code>?</p>



<a name="219786656"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219786656" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219786656">(Dec 13 2020 at 23:03)</a>:</h4>
<p>it will attempt to update everything in ~/.cargo/bin</p>



<a name="219879791"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219879791" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219879791">(Dec 14 2020 at 18:09)</a>:</h4>
<p>the package names don't always match the binary -- e.g. <code>cargo install ripgrep</code> installs <code>rg</code></p>



<a name="219879860"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219879860" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219879860">(Dec 14 2020 at 18:10)</a>:</h4>
<p>anyway, there's a tool for this: <a href="https://crates.io/crates/cargo-update">https://crates.io/crates/cargo-update</a></p>



<a name="219882033"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219882033" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219882033">(Dec 14 2020 at 18:27)</a>:</h4>
<p><code>alias cup='cargo-install-update install-update --all'</code> <span aria-label="halo" class="emoji emoji-1f607" role="img" title="halo">:halo:</span></p>



<a name="219898002"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219898002" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219898002">(Dec 14 2020 at 20:32)</a>:</h4>
<p><code>cargo install --list | rg '([\w-]+) v\S+:' -r '$1' | xargs cargo install</code></p>



<a name="219898045"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219898045" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219898045">(Dec 14 2020 at 20:32)</a>:</h4>
<p>Needs <code>ripgrep</code> already installed and fails on things like <code>pijul</code> that currently has version <code>1.0.0-alpha.21</code></p>



<a name="219898059"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219898059" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219898059">(Dec 14 2020 at 20:33)</a>:</h4>
<p>But works enough for me</p>



<a name="219898156"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219898156" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219898156">(Dec 14 2020 at 20:34)</a>:</h4>
<p>yeah, that's the right way to do it</p>



<a name="219898261"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219898261" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219898261">(Dec 14 2020 at 20:34)</a>:</h4>
<p>Same for <code>pip3</code>: <code>pip3 list | rg '(\S+)\s+\d+.\d+.\d+' -r '$1' | xargs pip3 install --upgrade</code></p>



<a name="219898303"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219898303" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219898303">(Dec 14 2020 at 20:35)</a>:</h4>
<p>Seeing this, I'm very happy that <code>rustup update</code> just works</p>



<a name="219898611"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219898611" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219898611">(Dec 14 2020 at 20:37)</a>:</h4>
<div class="codehilite" data-code-language="Bash"><pre><span></span><code><span class="k">function</span> run_all_completions<span class="o">()</span> <span class="o">{</span>
    swift package completion-tool generate-zsh-script &gt; <span class="nv">$DIRCONFIG</span>/zsh/_swift
    rustup completions zsh cargo &gt; <span class="nv">$DIRCONFIG</span>/zsh/_cargo
    rustup completions zsh &gt; <span class="nv">$DIRCONFIG</span>/zsh/_rustup
    pip3 completion --zsh &gt; <span class="nv">$DIRCONFIG</span>/zsh/_pip3
<span class="o">}</span>
</code></pre></div>
<p>To update all completions at once</p>



<a name="219898731"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219898731" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219898731">(Dec 14 2020 at 20:38)</a>:</h4>
<div class="codehilite" data-code-language="Bash"><pre><span></span><code><span class="nb">cd</span> ~/Projects/rust/rust-analyzer <span class="se">\</span>
                    <span class="o">&amp;&amp;</span> git checkout master <span class="se">\</span>
                    <span class="o">&amp;&amp;</span> git pull <span class="se">\</span>
                    <span class="o">&amp;&amp;</span> cargo xtask install --server
</code></pre></div>
<p>This upgrades <code>rust-analyzer</code> <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span></p>



<a name="219898852"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219898852" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219898852">(Dec 14 2020 at 20:39)</a>:</h4>
<p>fyi, rust-analyzer is available from VSCode marketplace (for a few months now I think)</p>



<a name="219898965"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219898965" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219898965">(Dec 14 2020 at 20:40)</a>:</h4>
<p>^yeah Codium is basically handling my <code>rust-analyzer</code> updates AFIAK</p>



<a name="219898991"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219898991" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219898991">(Dec 14 2020 at 20:40)</a>:</h4>
<p>Yes but I use <code>neovim</code> and I like to be at HEAD of <code>rust-analyzer</code> to find crashes and report them</p>



<a name="219899188"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219899188" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219899188">(Dec 14 2020 at 20:42)</a>:</h4>
<p>And finding crashes in a pre-release of neovim running a rust-analyzer that is itself on a prerelease of the LSP spec is not fun</p>



<a name="219899280"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219899280" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219899280">(Dec 14 2020 at 20:43)</a>:</h4>
<p>yeah I <em>think</em> it crashes in Codium as well but the auto-starts are discrete</p>



<a name="219899315"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219899315" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219899315">(Dec 14 2020 at 20:43)</a>:</h4>
<p>But overall I find the experience very nice and RA is very nice to use</p>



<a name="219899384"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219899384" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219899384">(Dec 14 2020 at 20:44)</a>:</h4>
<p>Still has some problems with search/replace in files but I think the problem is on neovim side</p>



<a name="219899404"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219899404" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219899404">(Dec 14 2020 at 20:44)</a>:</h4>
<p><span class="user-mention silent" data-user-id="307289">Poliorcetics</span> <a href="#narrow/stream/122651-general/topic/Useful.20aliases/near/219899315">said</a>:</p>
<blockquote>
<p>But overall I find the experience very nice and RA is very nice to use</p>
</blockquote>
<p>absolutely!</p>



<a name="219899406"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219899406" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219899406">(Dec 14 2020 at 20:44)</a>:</h4>
<p>Since it also happens with other language servers</p>



<a name="219901754"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Useful%20aliases/near/219901754" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Poliorcetics <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Useful.20aliases.html#219901754">(Dec 14 2020 at 21:04)</a>:</h4>
<p>Speaking of crashes <a href="https://github.com/neovim/neovim/issues/13529">https://github.com/neovim/neovim/issues/13529</a> :'(</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>